import HttpClient from '@/utils/request';

import type { ListParams, ListModel } from '@/types/index';

export const getList = (params: ListParams) => {
  return HttpClient.get<ListModel>('/list', { params });
};
